package com.tianji.media.task;

public class test {
    public static void main(String[] args) {
        String s1 = "s";
        String s2 = "s";
        StringBuilder b1 = new StringBuilder("s");
        StringBuilder b2 = new StringBuilder("s");
        System.out.println(s1==s2);
        System.out.println(s1.equals(s2));
        System.out.println(b1==b2);
        System.out.println(b1.equals(b2));

    }
}
